package com.own.business.wallet.common.exception;

import com.own.base.BaseResponseCode;
import com.own.business.wallet.common.em.WalletExceptionEnum;
import com.own.component.common.exception.BusinessException;

/**
 * WalletException
 *
 * @author chenxueli
 * @date 2023-07-13 16:32:48
 */
public class WalletException extends BusinessException {

    public WalletException() {
        super(WalletExceptionEnum.DEFAULT);
    }

    public WalletException(String message) {
        super(WalletExceptionEnum.DEFAULT.code(), message);
    }

    public WalletException(String code, String message) {
        super(code, message);
    }

    public WalletException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public WalletException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
